Learn R Programming

neotoma2 (version 1.0.8)

[[,chronologies,numeric-method: sub-sub

Description

Obtain one of the elements within a sites, collectionunits, datasets, etc... Neotoma objects.

Usage

# S4 method for chronologies,numeric
[[(x, i)

# S4 method for collunits,numeric [[(x, i)

# S4 method for contacts,numeric [[(x, i)

# S4 method for datasets,numeric [[(x, i)

# S4 method for publications,numeric [[(x, i)

# S4 method for samples,numeric [[(x, i)

# S4 method for sites,numeric [[(x, i)

# S4 method for speleothems,numeric [[(x, i)

# S4 method for taxa,numeric [[(x, i)

Value

sliced site object

Arguments

x

Neotoma2 nested object

i

iteration in nested list

Examples

Run this code
# \donttest{
tryCatch({
  some_site <- get_sites(sitename = "Site%", limit=3)
  some_site[[2]]
}, error = function(e) {
  message("Neotoma server not responding. Try again later.")
})
# }

Run the code above in your browser using DataLab